\(\int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx\) [167]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 20, antiderivative size = 98 \[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\frac {2 \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \operatorname {PolyLog}\left (3,-e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \operatorname {PolyLog}\left (3,e^{\text {arccosh}(a x)}\right )}{a c} \]

[Out]

2*arccosh(a*x)^2*arctanh(a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c+2*arccosh(a*x)*polylog(2,-a*x-(a*x-1)^(1/2)*(a*x
+1)^(1/2))/a/c-2*arccosh(a*x)*polylog(2,a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c-2*polylog(3,-a*x-(a*x-1)^(1/2)*(a
*x+1)^(1/2))/a/c+2*polylog(3,a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c

Rubi [A] (verified)

Time = 0.07 (sec) , antiderivative size = 98, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5903, 4267, 2611, 2320, 6724} \[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\frac {2 \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \operatorname {PolyLog}\left (3,-e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \operatorname {PolyLog}\left (3,e^{\text {arccosh}(a x)}\right )}{a c} \]

[In]

Int[ArcCosh[a*x]^2/(c - a^2*c*x^2),x]

[Out]

(2*ArcCosh[a*x]^2*ArcTanh[E^ArcCosh[a*x]])/(a*c) + (2*ArcCosh[a*x]*PolyLog[2, -E^ArcCosh[a*x]])/(a*c) - (2*Arc
Cosh[a*x]*PolyLog[2, E^ArcCosh[a*x]])/(a*c) - (2*PolyLog[3, -E^ArcCosh[a*x]])/(a*c) + (2*PolyLog[3, E^ArcCosh[
a*x]])/(a*c)

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 2611

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[(-(
f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + b*x)))^n]/(b*c*n*Log[F])), x] + Dist[g*(m/(b*c*n*Log[F])), Int[(f + g*
x)^(m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 4267

Int[csc[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[-2*(c + d*x)^m*(Ar
cTanh[E^((-I)*e + f*fz*x)]/(f*fz*I)), x] + (-Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 - E^((-I)*e + f*
fz*x)], x], x] + Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e + f*fz*x)], x], x]) /; FreeQ[{c,
 d, e, f, fz}, x] && IGtQ[m, 0]

Rule 5903

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/((d_) + (e_.)*(x_)^2), x_Symbol] :> Dist[-(c*d)^(-1), Subst[Int[
(a + b*x)^n*Csch[x], x], x, ArcCosh[c*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[n, 0]

Rule 6724

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int x^2 \text {csch}(x) \, dx,x,\text {arccosh}(a x)\right )}{a c} \\ & = \frac {2 \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \text {Subst}\left (\int x \log \left (1-e^x\right ) \, dx,x,\text {arccosh}(a x)\right )}{a c}-\frac {2 \text {Subst}\left (\int x \log \left (1+e^x\right ) \, dx,x,\text {arccosh}(a x)\right )}{a c} \\ & = \frac {2 \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-e^x\right ) \, dx,x,\text {arccosh}(a x)\right )}{a c}+\frac {2 \text {Subst}\left (\int \operatorname {PolyLog}\left (2,e^x\right ) \, dx,x,\text {arccosh}(a x)\right )}{a c} \\ & = \frac {2 \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{\text {arccosh}(a x)}\right )}{a c} \\ & = \frac {2 \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \operatorname {PolyLog}\left (3,-e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \operatorname {PolyLog}\left (3,e^{\text {arccosh}(a x)}\right )}{a c} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.06 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.97 \[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\frac {-\text {arccosh}(a x)^2 \log \left (1-e^{\text {arccosh}(a x)}\right )+\text {arccosh}(a x)^2 \log \left (1+e^{\text {arccosh}(a x)}\right )+2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )-2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )-2 \operatorname {PolyLog}\left (3,-e^{\text {arccosh}(a x)}\right )+2 \operatorname {PolyLog}\left (3,e^{\text {arccosh}(a x)}\right )}{a c} \]

[In]

Integrate[ArcCosh[a*x]^2/(c - a^2*c*x^2),x]

[Out]

(-(ArcCosh[a*x]^2*Log[1 - E^ArcCosh[a*x]]) + ArcCosh[a*x]^2*Log[1 + E^ArcCosh[a*x]] + 2*ArcCosh[a*x]*PolyLog[2
, -E^ArcCosh[a*x]] - 2*ArcCosh[a*x]*PolyLog[2, E^ArcCosh[a*x]] - 2*PolyLog[3, -E^ArcCosh[a*x]] + 2*PolyLog[3,
E^ArcCosh[a*x]])/(a*c)

Maple [A] (verified)

Time = 0.46 (sec) , antiderivative size = 187, normalized size of antiderivative = 1.91

method result size
derivativedivides \(\frac {\frac {\operatorname {arccosh}\left (a x \right )^{2} \ln \left (1+a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}+\frac {2 \,\operatorname {arccosh}\left (a x \right ) \operatorname {polylog}\left (2, -a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {2 \operatorname {polylog}\left (3, -a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {\operatorname {arccosh}\left (a x \right )^{2} \ln \left (1-a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {2 \,\operatorname {arccosh}\left (a x \right ) \operatorname {polylog}\left (2, a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}+\frac {2 \operatorname {polylog}\left (3, a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}}{a}\) \(187\)
default \(\frac {\frac {\operatorname {arccosh}\left (a x \right )^{2} \ln \left (1+a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}+\frac {2 \,\operatorname {arccosh}\left (a x \right ) \operatorname {polylog}\left (2, -a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {2 \operatorname {polylog}\left (3, -a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {\operatorname {arccosh}\left (a x \right )^{2} \ln \left (1-a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {2 \,\operatorname {arccosh}\left (a x \right ) \operatorname {polylog}\left (2, a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}+\frac {2 \operatorname {polylog}\left (3, a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}}{a}\) \(187\)

[In]

int(arccosh(a*x)^2/(-a^2*c*x^2+c),x,method=_RETURNVERBOSE)

[Out]

1/a*(1/c*arccosh(a*x)^2*ln(1+a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))+2/c*arccosh(a*x)*polylog(2,-a*x-(a*x-1)^(1/2)*(a
*x+1)^(1/2))-2/c*polylog(3,-a*x-(a*x-1)^(1/2)*(a*x+1)^(1/2))-1/c*arccosh(a*x)^2*ln(1-a*x-(a*x-1)^(1/2)*(a*x+1)
^(1/2))-2/c*arccosh(a*x)*polylog(2,a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))+2/c*polylog(3,a*x+(a*x-1)^(1/2)*(a*x+1)^(1
/2)))

Fricas [F]

\[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )^{2}}{a^{2} c x^{2} - c} \,d x } \]

[In]

integrate(arccosh(a*x)^2/(-a^2*c*x^2+c),x, algorithm="fricas")

[Out]

integral(-arccosh(a*x)^2/(a^2*c*x^2 - c), x)

Sympy [F]

\[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=- \frac {\int \frac {\operatorname {acosh}^{2}{\left (a x \right )}}{a^{2} x^{2} - 1}\, dx}{c} \]

[In]

integrate(acosh(a*x)**2/(-a**2*c*x**2+c),x)

[Out]

-Integral(acosh(a*x)**2/(a**2*x**2 - 1), x)/c

Maxima [F]

\[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )^{2}}{a^{2} c x^{2} - c} \,d x } \]

[In]

integrate(arccosh(a*x)^2/(-a^2*c*x^2+c),x, algorithm="maxima")

[Out]

1/2*(log(a*x + 1) - log(a*x - 1))*log(a*x + sqrt(a*x + 1)*sqrt(a*x - 1))^2/(a*c) - integrate(((a*x*log(a*x + 1
) - a*x*log(a*x - 1))*sqrt(a*x + 1)*sqrt(a*x - 1) + (a^2*x^2 - 1)*log(a*x + 1) - (a^2*x^2 - 1)*log(a*x - 1))*l
og(a*x + sqrt(a*x + 1)*sqrt(a*x - 1))/(a^3*c*x^3 - a*c*x + (a^2*c*x^2 - c)*sqrt(a*x + 1)*sqrt(a*x - 1)), x)

Giac [F]

\[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )^{2}}{a^{2} c x^{2} - c} \,d x } \]

[In]

integrate(arccosh(a*x)^2/(-a^2*c*x^2+c),x, algorithm="giac")

[Out]

integrate(-arccosh(a*x)^2/(a^2*c*x^2 - c), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\int \frac {{\mathrm {acosh}\left (a\,x\right )}^2}{c-a^2\,c\,x^2} \,d x \]

[In]

int(acosh(a*x)^2/(c - a^2*c*x^2),x)

[Out]

int(acosh(a*x)^2/(c - a^2*c*x^2), x)